<!doctype html>
<html>
<head>
    {% block head %}
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="description" content="我的小世界">
        <meta name="keywords" content="韦永坚博客,小世界,秘密基地">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
        <title>{% block title %}{% endblock %} - 博客</title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="Cache-Control" content="no-siteapp"/>
        <link rel="icon" type="image/png" href="{{ url_for('static', filename='images/icon.png') }}">
        <meta name="mobile-web-app-capable" content="yes">
        <link rel="icon" sizes="192x192" href="{{ url_for('static', filename='images/icon.png') }}>
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
        <link rel="apple-touch-icon-precomposed" href="{{ url_for('static', filename='images/icon.png') }}">
        <meta name="msapplication-TileImage" content="{{ url_for('static', filename='images/icon.png') }}">
        <meta name="msapplication-TileColor" content="#0e90d2">
        <link rel="stylesheet" href="{{ url_for('static', filename='assets/css/amazeui.min.css') }}">
        <link rel="stylesheet" href="{{ url_for('static', filename='assets/css/app.css') }}">
        <style type="text/css">
            a:hover {color:#CC3300;text-decoration:underline;}
        </style>
    {% endblock %}
</head>

<body id="blog">

<header class="am-g am-g-fixed blog-fixed blog-text-center blog-header">
    <div class="am-u-sm-8 am-u-sm-centered">
        <img width="200" src="{{ url_for('static',filename='images/logo.png') }}" alt="韦永坚博客"/>
        <h2 class="am-hide-sm-only">我的第一个Python作品</h2>
    </div>
</header>
<hr>
<nav class="am-g am-g-fixed blog-fixed blog-nav">
    <button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only blog-button"
            data-am-collapse="{target: '#blog-collapse'}" style="background:#444;"><span class="am-sr-only">导航切换</span> <span
            class="am-icon-bars"></span></button>

    <div class="am-collapse am-topbar-collapse" id="blog-collapse">
        <ul class="am-nav am-nav-pills am-topbar-nav">
            <li class="am-active"><a href="{{ url_for('.index_index') }}">首页</a></li>
            <li class="am-dropdown" data-am-dropdown>
                <a class="am-dropdown-toggle" data-am-dropdown-toggle href="javascript:;">
                    我的博客 <span class="am-icon-caret-down"></span>
                </a>
                <ul class="am-dropdown-content">
                    {% for i in data.column %}
                        {% if i.fid == 0 %}
                            <li><a href="{{ url_for('.index_list',id=i.id) }}">{{ i.title }}</a></li>
                            {% for n in data.column %}
                                {% if n.fid == i.id %}
                                    <li><a href="{{ url_for('.index_list',id=n.id) }}">┇┅ {{ n.title }}</a></li>
                                {% endif %}
                            {% endfor %}

                        {% endif %}
                    {% endfor %}
                </ul>
            </li>
            <li><a href="#" onClick="alert('添加QQ863485387')">友情链接</a></li>
        </ul>
    </div>
</nav>
<hr>

{% block content %}
    {% block my %}
        <div class="blog-sidebar-widget blog-bor">
            <h2 class="blog-text-center blog-title"><span>About ME</span></h2>
            <img src="{{ url_for('static', filename='images/icon.png') }}" alt="about me" class="blog-entry-img">
            <p>Jian</p>
            <p>退一步海阔天空，这是一种应有的心境。</p>
{#            <p>#}
{#                <a href=""><span class="am-icon-qq am-icon-fw am-primary blog-icon"></span></a>#}
{#                <a href=""><span class="am-icon-github am-icon-fw blog-icon"></span></a>#}
{#                <a href=""><span class="am-icon-weibo am-icon-fw blog-icon"></span></a>#}
{#                <a href=""><span class="am-icon-reddit am-icon-fw blog-icon"></span></a>#}
{#                <a href=""><span class="am-icon-weixin am-icon-fw blog-icon"></span></a>#}
{#            </p>#}

        </div>

        <!-- content end -->

    {% endblock %}
{% endblock %}
<!-- content end -->
<footer class="blog-footer">
    <div class="am-g am-g-fixed blog-fixed am-u-sm-centered blog-footer-padding">
        <div class="am-u-sm-12 am-u-md-4- am-u-lg-4">
            <h3>我的博客</h3>
            <p class="am-text-sm">学习Python期间的一个作品</p>
            <p class="am-text-sm">码云：gitee.com/j-ian/</p>        </div>
        <div class="am-u-sm-12 am-u-md-4- am-u-lg-4">
            <h3>联系方式</h3>
            <p>
                QQ:863485387
            </p>
            <p>
                邮箱：uu2050@sina.com
            </p>
        </div>
        <div class="am-u-sm-12 am-u-md-4- am-u-lg-4">
            <h1>站在巨人的肩膀上</h1>
            <ul>
                <li>Flask</li>
                <li>Amaze UI</li>
            </ul>
            </p>
        </div>
    </div>
    <div class="blog-text-center">Copyright © 2017 Powered By Jian-blog</div>
</footer>
<!--[if (gte IE 9)|!(IE)]><!-->
<script src="{{ url_for('static', filename='assets/js/jquery.min.js') }}"></script>
<!--<![endif]-->
<!--[if lte IE 8 ]>
<script src="http://libs.baidu.com/jquery/1.11.3/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="{{ url_for('static', filename='assets/js/amazeui.ie8polyfill.min.js') }}"></script>
<![endif]-->
<script src="{{ url_for('static', filename='assets/js/amazeui.min.js') }}"></script>
<!-- <script src="assets/js/app.js"></script> -->
</body>
</html>